import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './style.css'
import App from './App.vue'
// 导入全局组件
import GlobalComponents from './components/global'

// 创建Vue应用
const app = createApp(App)

// 创建并使用Pinia
const pinia = createPinia()
app.use(pinia)

// 注册全局组件
app.use(GlobalComponents)

// 挂载应用
app.mount('#app')
